package com.itheima.mapper;

import com.github.pagehelper.Page;
import com.itheima.pojo.PatientCategory;

import java.util.List;
import java.util.Map;

public interface PatientCategoryMapper {
   Page<PatientCategory> findByCondition(String queryString);

   PatientCategory findById(Integer id);

   String[] findAll();

   String[] findCategoryNamesByMemberId(Integer memberId);

   void editCategoryBymemberId(Integer memberId, String[] checkList);

   void deleteCategoryByMemberId(Integer memberId);

   Integer findIdByCategoryName(String categoryName);

   void batchInsert(List<Map> list);
}
